﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Admin/AdminMaster.Master" AutoEventWireup="true" CodeBehind="Manufactors.aspx.cs" Inherits="OnlineSupermarketTuto.Views.Admin.Suppliers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MyContent" runat="server">
    <div class="container-fluid">
        <div class="row">
            <div class="col">
                <h3 class="text-center">生产商管理</h3>
            </div>
        </div>
        <div class="row">
            <div class="col-md-4">
                <div class="mb-3">
                    <label for="" class="form-label text-success">生产商名称</label>
                    <input type="text" placeholder="" autocomplete="off" class="form-control" runat="server" id="MNameTb"/>
                </div>
                <div class="mb-3">
                    <label for="" class="form-label text-success">生产许可证号</label>
                    <input type="text" placeholder="" autocomplete="off" class="form-control" runat="server" id="PermNumTb"/>
                </div>
                <div class="mb-3">
                    <label for="" class="form-label text-success">生产地</label>
                    <asp:DropDownList ID="PlaceCb" runat="server" CssClass="form-control">
                        <asp:ListItem>北京市</asp:ListItem>
                        <asp:ListItem>上海市</asp:ListItem>
                        <asp:ListItem>天津市</asp:ListItem>
                        <asp:ListItem>重庆市</asp:ListItem>
                        <asp:ListItem>黑龙江省</asp:ListItem>
                        <asp:ListItem>吉林省</asp:ListItem>
                        <asp:ListItem>辽宁省</asp:ListItem>
                        <asp:ListItem>内蒙古</asp:ListItem>
                        <asp:ListItem>河北省</asp:ListItem>
                        <asp:ListItem>新疆</asp:ListItem>
                        <asp:ListItem>甘肃省</asp:ListItem>
                        <asp:ListItem>青海省</asp:ListItem>
                        <asp:ListItem>陕西省</asp:ListItem>
                        <asp:ListItem>宁夏</asp:ListItem>
                        <asp:ListItem>河南省</asp:ListItem>
                        <asp:ListItem>山东省</asp:ListItem>
                        <asp:ListItem>山西省</asp:ListItem>
                        <asp:ListItem>安徽省</asp:ListItem>
                        <asp:ListItem>湖北省</asp:ListItem>
                        <asp:ListItem>湖南省</asp:ListItem>
                        <asp:ListItem>江苏省</asp:ListItem>
                        <asp:ListItem>四川省</asp:ListItem>
                        <asp:ListItem>贵州省</asp:ListItem>
                        <asp:ListItem>云南省</asp:ListItem>
                        <asp:ListItem>广西省</asp:ListItem>
                        <asp:ListItem>西藏</asp:ListItem>
                        <asp:ListItem>浙江省</asp:ListItem>
                        <asp:ListItem>江西省</asp:ListItem>
                        <asp:ListItem>广东省</asp:ListItem>
                        <asp:ListItem>福建省</asp:ListItem>
                        <asp:ListItem>台湾省</asp:ListItem>
                        <asp:ListItem>海南省</asp:ListItem>
                        <asp:ListItem>香港</asp:ListItem>
                        <asp:ListItem>澳门</asp:ListItem>
                        <asp:ListItem>海外</asp:ListItem>
                    </asp:DropDownList>
                </div>
                <div class="row">
                    <asp:Label runat="server" ID="ErrMsg" class="text-danger text-center"></asp:Label>
                    <div class="col-md-4"><asp:Button Text="编辑" runat="server" id="EditBtn" class="btn-warning btn-block btn" Width="100px" OnClick="EditBtn_Click"/></div>
                    <div class="col-md-4"><asp:Button Text="保存" runat="server" id="SaveBtn" class="btn-success btn-block btn" Width="100px" OnClick="SaveBtn_Click1"/></div>
                    <div class="col-md-4"><asp:Button Text="删除" runat="server" id="DeleteBtn" class="btn-danger btn-block btn" Width="100px" OnClick="DeleteBtn_Click"/></div>
                </div>
            </div>
            <div class="col-md-8">
                <asp:GridView ID="ManufactList" runat="server" class="table" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateSelectButton="True" OnSelectedIndexChanged="ManufactList_SelectedIndexChanged">
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    <EditRowStyle BackColor="#999999" />
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="teal" Font-Bold="false" ForeColor="White" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#E9E7E2" />
                    <SortedAscendingHeaderStyle BackColor="#506C8C" />
                    <SortedDescendingCellStyle BackColor="#FFFDF8" />
                    <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                </asp:GridView>
            </div>
        </div>
    </div>
</asp:Content>
